package com.bhs.sansonglogistics.dialog;

import android.content.Context;
import android.widget.CheckBox;
import android.widget.TextView;

import androidx.annotation.NonNull;

import com.bhs.sansonglogistics.R;
import com.lxj.xpopup.core.CenterPopupView;

/**
 * 开启悬浮窗接单
 */
public class OpenSuspensionWindowDialog extends CenterPopupView {

    private CheckBox mCbAbsentPrompt;
    private TextView mTvCancel;
    private TextView mTvAuthorization;

    public OpenSuspensionWindowDialog(@NonNull Context context) {
        super(context);
    }

    @Override
    protected void onCreate() {
        super.onCreate();
        initView();
    }

    @Override
    protected int getImplLayoutId() {
        return R.layout.dialog_open_suspension_window;
    }

    private void initView() {
        mCbAbsentPrompt = findViewById(R.id.cb_absent_prompt);
        mTvCancel = findViewById(R.id.tv_cancel);
        mTvAuthorization = findViewById(R.id.tv_authorization);
    }
}
